package org.llc.user.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 权限
 * @author llc
 * @date 2021-04-18
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Authority implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String value;

    private String organize;

    /**
     * 父级ID （0 :顶级权限或顶级菜单权限）
     */
    private Long pid;

    /**
     * 是否是菜单（0：非菜单 1：菜单）
     */
    private Boolean isMenu;


}
